package com.kakarote.admin.entity.PO;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("wk_admin_apply_goods")
@ApiModel(value = "系统内能购买的服务的对象", description = "可购买的服务信息")
public class AdminApplyGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty("服务关键字")
    private String keyName;

    @ApiModelProperty("商品类型 1 基础付费服务（按时间收费） 2 增值付费服务（按次数收费）")
    private Integer keyType;

    @ApiModelProperty("服务名称")
    private String realName;

    @ApiModelProperty("服务单价")
    private BigDecimal unitPrice;

    @ApiModelProperty("限制人数")
    private Integer amount;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("备注")
    private String msg;

}
